package com.koron.ticket.fake.operation.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.bean.query.PageQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: rocky
 * @Date: 2022/1/26 9:54
*/

/**
    * 操作票-样票
    */
@Data
public class OperationFormworkQuery extends PageQuery implements Serializable {
    /**
    * 主键
    */
    @ApiModelProperty(value="主键")
    private String id;

    /**
    * 操作票类型
    */
    @ApiModelProperty(value="操作票类型")
    private String group;

    /**
    * 操作票子类型
    */
    @ApiModelProperty(value="操作票子类型")
    private String type;

    /**
    * 标题
    */
    @ApiModelProperty(value="标题")
    private String title;


    @ApiModelProperty(value = "创建单位ID")
    private String deptId;


    @ApiModelProperty(value = "创建单位名称")
    private String deptName;

    /**
    * 创建人姓名
    */
    @ApiModelProperty(value="创建人姓名")
    private String createByName;

    /**
    * 创建时间
    */
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人账号")
    private String createBy;

    @ApiModelProperty(value = "填票开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date startCreateTime;

    @ApiModelProperty(value = "填票结束结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date endCreateTime;


    private static final long serialVersionUID = 1L;
}
